Integrand size = 22, antiderivative size = 42 \[ \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx=-\frac {2 \text {arctanh}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{\sqrt {a} \sqrt {c}} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {95, 214} \[ \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx=-\frac {2 \text {arctanh}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{\sqrt {a} \sqrt {c}} \]
[In]
[Out]
Rule 95
Rule 214
Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int \frac {1}{-a+c x^2} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right ) \\ & = -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{\sqrt {a} \sqrt {c}} \\ \end{align*}
Time = 0.11 (sec) , antiderivative size = 42, normalized size of antiderivative = 1.00 \[ \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx=-\frac {2 \text {arctanh}\left (\frac {\sqrt {a} \sqrt {c+d x}}{\sqrt {c} \sqrt {a+b x}}\right )}{\sqrt {a} \sqrt {c}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(72\) vs. \(2(30)=60\).
Time = 1.38 (sec) , antiderivative size = 73, normalized size of antiderivative = 1.74
method | result | size |
default | \(-\frac {\ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}+2 a c}{x}\right ) \sqrt {d x +c}\, \sqrt {b x +a}}{\sqrt {a c}\, \sqrt {\left (b x +a \right ) \left (d x +c \right )}}\) | \(73\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 83 vs. \(2 (30) = 60\).
Time = 0.24 (sec) , antiderivative size = 187, normalized size of antiderivative = 4.45 \[ \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx=\left [\frac {\sqrt {a c} \log \left (\frac {8 \, a^{2} c^{2} + {\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{2} - 4 \, {\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {a c} \sqrt {b x + a} \sqrt {d x + c} + 8 \, {\left (a b c^{2} + a^{2} c d\right )} x}{x^{2}}\right )}{2 \, a c}, \frac {\sqrt {-a c} \arctan \left (\frac {{\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {-a c} \sqrt {b x + a} \sqrt {d x + c}}{2 \, {\left (a b c d x^{2} + a^{2} c^{2} + {\left (a b c^{2} + a^{2} c d\right )} x\right )}}\right )}{a c}\right ] \]
[In]
[Out]
\[ \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx=\int \frac {1}{x \sqrt {a + b x} \sqrt {c + d x}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 85 vs. \(2 (30) = 60\).
Time = 0.31 (sec) , antiderivative size = 85, normalized size of antiderivative = 2.02 \[ \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx=-\frac {2 \, \sqrt {b d} b \arctan \left (-\frac {b^{2} c + a b d - {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2}}{2 \, \sqrt {-a b c d} b}\right )}{\sqrt {-a b c d} {\left | b \right |}} \]
[In]
[Out]
Time = 2.91 (sec) , antiderivative size = 121, normalized size of antiderivative = 2.88 \[ \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx=\frac {\ln \left (\frac {\left (\sqrt {c}\,\sqrt {a+b\,x}-\sqrt {a}\,\sqrt {c+d\,x}\right )\,\left (b\,\sqrt {c}-\frac {\sqrt {a}\,d\,\left (\sqrt {a+b\,x}-\sqrt {a}\right )}{\sqrt {c+d\,x}-\sqrt {c}}\right )}{\sqrt {c+d\,x}-\sqrt {c}}\right )-\ln \left (\frac {\sqrt {a+b\,x}-\sqrt {a}}{\sqrt {c+d\,x}-\sqrt {c}}\right )}{\sqrt {a}\,\sqrt {c}} \]
[In]
[Out]